﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Room.Domain.RoomClass
{
    /// <summary>
    /// 房号表
    /// </summary>
    public class RoomNum
    {
        /// <summary>
        /// 房号ID  
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int RoomId { get; set; }

        /// <summary>
        /// 房型ID  
        /// </summary>
        public int Rtid { get; set; }

        /// <summary>
        /// 房号  
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(20)")]
        public string RoomNumber { get; set; }

        /// <summary>
        /// 排序  
        /// </summary>
        public int Rank { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDataType = "Nvarchar(50)")]
        public string Remark { get; set; }

        /// <summary>
        /// 租户ID
        /// </summary>
        public string TenantId { get; set; } = "zhangsan";

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; } = false;

        /// <summary>
        /// 房态筛选ID 
        /// </summary>
        public int Rsid { get; set; }

        /// <summary>
        /// 更多筛选ID
        /// </summary>
        public int MsId { get; set; }

    }
}
